package com.tgpms.web.hongbo.service;

import com.tgpms.web.hongbo.entity.TubeDocument;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;

import com.tgpms.common.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jl
 * @since 2020-10-26
 */
public interface ITubeDocumentService{

	/**
	 * 同步数据
	 * @return
	 */
	int syncTubeDocument() throws UnsupportedEncodingException, ParseException;
	/**
		新增
	*/
	Result addTubeDocument(TubeDocument en,Result result);
	
	/**
		更新
	*/
	Result updateTubeDocument(TubeDocument en,Result result);
	
	/**
		根据主键id删除
	*/
	Result deleteTubeDocument(Serializable id,Result result);
}
